summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEnrico Mancuso <55850895+HidroSaphire@users.noreply.github.com>2022-11-09 15:34:26 +0100
committerGitHub <noreply@github.com>2022-11-09 15:34:26 +0100
commitd581a4a367bfe750ad571a1b8ee8961c132411aa (patch)
treead7a62b9e3a296a93876f5569fc2106fd0d64fae
parentMerge pull request #9215 from liamwhite/swordfight (diff)
downloadyuzu-d581a4a367bfe750ad571a1b8ee8961c132411aa.tar
yuzu-d581a4a367bfe750ad571a1b8ee8961c132411aa.tar.gz
yuzu-d581a4a367bfe750ad571a1b8ee8961c132411aa.tar.bz2
yuzu-d581a4a367bfe750ad571a1b8ee8961c132411aa.tar.lz
yuzu-d581a4a367bfe750ad571a1b8ee8961c132411aa.tar.xz
yuzu-d581a4a367bfe750ad571a1b8ee8961c132411aa.tar.zst
yuzu-d581a4a367bfe750ad571a1b8ee8961c132411aa.zip
-rw-r--r--src/common/settings.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp
index 0a560ebb7..8173462cb 100644
--- a/src/common/settings.cpp
+++ b/src/common/settings.cpp
@@ -151,6 +151,7 @@ void UpdateRescalingInfo() {
ASSERT(false);
info.up_scale = 1;
info.down_shift = 0;
+ break;
}
info.up_factor = static_cast<f32>(info.up_scale) / (1U << info.down_shift);
info.down_factor = static_cast<f32>(1U << info.down_shift) / info.up_scale;